// cover some element-ui styles


::v-deep body.el-popup-parent--hidden{
  .el-select-dropdown{
  position: relative !important;
}

}







::v-deep .el-picker-panel{
  position: absolute;
}

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  max-width: 80% !important;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}
.el-tabs__item{
  &.is-active{
    color:#43ada3
  }
  &:hover{
    color:#43ada3
  }
}
.el-pager{
  li{
    &.active{
      color:#43ada3
    }
    &:hover{
      color:#43ada3
    }
  }
}
.el-select{
  .el-input{
    &.is-focus{
      .el-input__inner{
        border-color:#43ada3
      }
    }
  }
}
.el-select-dropdown__item{
  &.selected{
    color:#43ada3
  }
}
.el-button--primary{
  background-color: #43ada3;
    border-color: #43ada3;
    &:hover{background-color: #43ada3;
      border-color: #43ada3;}
    &:active{background-color: #43ada3;
      border-color: #43ada3;}
      &:focus{background-color: #43ada3;
        border-color: #43ada3;}

}
.el-menu-item{
  &.is-active{
    color:#43ada3
  }
}
.el-dialog{height: min-content;}
.el-pagination {
  margin-top: 15px;
}
.el-tabs__active-bar{
  background-color: #43ada3;
}
.el-input__inner{
  &:focus{
    border-color: #43ada3;
  }
}


::v-deep .el-checkbox.is-bordered.is-checked {
  border-color: #43ada3;
}

::v-deep .el-select .el-input__inner:focus{
border-color: #43ada3;

}


.el-radio {
  // border: 1px solid rgb(207, 204, 204);
  border-color:#DCDFE6;

  &.is-checked {
    border-color:#43ada3 !important;
    // border: 1px solid #43ada3 !important;
    // border: none;
  }
  &:hover {
    border-color: #43ada3 !important;
    color: #43ada3 !important;
    .el-radio__inner {
      border-color: #43ada3;
    }
  }
  .el-radio__input {
    margin-bottom: px(5);
    &.is-checked {
      .el-radio__inner {
        background-color: #43ada3;
        border-color: #43ada3;
      }
      + .el-radio__label {
        color: #43ada3 !important;
      }
    }
    .el-radio__inner {
      &:hover {
        border-color: #43ada3;
      }
    }
  }
}

.el-checkbox{


  &.is-checked{
    // border: 1px solid #43ada3 !important;

    .el-checkbox__inner{
      background-color: #43ada3;
      border-color: #43ada3;
    }

    .el-checkbox__label {
      color: #43ada3;
    }
  }

}
.el-checkbox__input{
  &.is-checked{
    .el-checkbox__label{
      color:#43ada3 !important;
    }
  }
  &.is-focus{
    .el-checkbox__inner{border-color:#DCDFE6 !important;}

  }
}
::v-deep {
  .el-tabs__item {
    &.is-active {
      color: #43ada3;
    }
    &:hover {
      color: #43ada3;
    }
  }
  .el-radio {
    border: 1px solid rgb(207, 204, 204);
    &.is-bordered{
      // border: 1px solid #43ada3 !important;
    }
    &.is-checked {
      // border: 1px solid #43ada3 !important;
    }
    &:hover {
      border-color: #43ada3 !important;
      color: #43ada3 !important;
      .el-radio__inner {
        border-color: #43ada3;
      }
    }
    .el-radio__input {
      margin-bottom: px(5);
      &.is-checked {
        .el-radio__inner {
          background-color: #43ada3;
          border-color: #43ada3;
        }
        + .el-radio__label {
          color: #43ada3 !important;
        }
      }
      .el-radio__inner {
        &:hover {
          border-color: #43ada3;
        }
      }
    }
  }
  .el-checkbox {
    border: 1px solid rgb(207, 204, 204);
    &.is-checked {
      // border: 1px solid #43ada3 !important;
    }
    &:hover {
      border-color: #43ada3 !important;
      color: #43ada3 !important;
      .el-checkbox__inner {
        border-color: #43ada3;
      }
    }
    .el-checkbox__input {
      margin-bottom: px(5);
      &.is-focus {
        .el-checkbox__inner {
          border-color: #dcdfe6;
        }
      }
      &.is-checked {
        .el-checkbox__inner {
          background-color: #43ada3;
          border-color: #43ada3;
        }
        + .el-checkbox__label {
          color: #43ada3 !important;
        }
        .el-checkbox__label{
          color:#43ada3 !important;
        }
      }
      .el-checkbox__inner {
        &:hover {
          border-color: #43ada3;
        }
      }
    }
  }

  // v-deep end
}
.el-icon-warning-outline{margin-right:5px;}
//tab页
.el-tabs__content{overflow: visible;}
.el-tabs--card > .el-tabs__header{
  border-bottom: 0;
}
.el-tabs--card > .el-tabs__header .el-tabs__nav{border-radius:4px;border-bottom: 1px solid #dfe4ed;overflow: hidden;}
.el-tabs__item{height: 32px;line-height: 32px;}
.el-tabs--card > .el-tabs__header .el-tabs__item{border-bottom:none;}
.el-tabs__item.is-active{background: #43ada3; color: #fff;}
// 弹窗
.el-dialog{
  border-radius:8px;
  background: #f4f6f6;
}
.el-dialog__body{padding:10px;}
.el-dialog__header {
  padding: 20px 20px 0 ;
}
.el-dialog__title{
  line-height: 20px;
    font-size: 16px;
    color: #333;
    font-weight: 700;;
}
.el-dialog__headerbtn:focus .el-dialog__close, .el-dialog__headerbtn:hover .el-dialog__close{
  color:#43ada3
}
//表格
.el-table th:first-child {
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
}
.el-table th:nth-last-child(2) {
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
}
.el-table::before {
  display: none;
}
.el-table th.el-table__cell.is-leaf,
.el-table td.el-table__cell {
  border-bottom: none;
  padding: 3px 0;
  .text-blue{color: #2584c6;}
}
.el-table--medium .el-table__cell{padding:0; font-size: 12px;}
.el-table .el-table__header-wrapper th,
.el-table .el-table__fixed-header-wrapper th{
  background: #f1f4f3;
  color: #333333 !important;
  font-size: 12px !important;
  padding: 3px 0;
  height: 22px !important;
}

.el-tag--medium {
  height: 20px;
  line-height: 20px;
  margin-top:4px;
}
.el-table .el-button--medium{
  height: 20px;
  line-height: 20px;
  margin-top:4px;
  font-size: 12px;
  padding:0 10px;
}
// 下拉框

.el-input--medium .el-input__inner{height:28px;
  line-height:28px;
}
.el-input--medium .el-input__icon{
  line-height:28px;
}
// 表单
.el-form-item{
  margin-bottom:0;display: inline-block;margin-right:20px;
}
.el-form-item--medium .el-form-item__content{
  line-height:28px;
}
.el-form-item--medium .el-form-item__label{
  line-height: 28px;
}
// 单选
.el-radio-button--medium .el-radio-button__inner{
  padding: 6px 15px
}
.el-radio--medium.is-bordered{
  padding: 6px 15px 0 10px;
    height: 28px;
}
.el-radio-group{display: flex;
  align-items: center;
height: 28px;}

.el-radio-button__orig-radio:checked + .el-radio-button__inner{
  color: #FFFFFF;
  background-color: #43ada3;
  border-color: #43ada3;
  -webkit-box-shadow: -1px 0 0 0 #43ada3;
  box-shadow: -1px 0 0 0 #43ada3;
}
.el-radio-button__inner:hover{
  color: #43ada3;
}

// 多选
.el-checkbox{
  margin-right:0;
}
.el-checkbox.is-bordered.el-checkbox--medium{
  height: 28px;
  padding: 5px 20px 5px 10px;
}
// 按钮
.el-button--medium{
  padding: 6px 20px;
}
// 分页
.el-pagination__sizes{
 .el-input{
  .el-input__inner{
    &:hover{
      border-color:#43ada3;
    }
    &:focus{
      border-color:#43ada3;
    }
  }
 }
}


::v-deep .el-select .el-input__inner:focus {
  border-color: #43ada3;
}
